package org.liveboardgames.agricola.business;

import org.liveboardgames.agricola.access.IGameDao;
import org.liveboardgames.agricola.domain.Game;

public class LoadGameServiceImpl implements ILoadGameService {

  private IGameDao gameDao;

  public void setGameDao(IGameDao gameDao) {
    this.gameDao = gameDao;
  }

  public Game loadGame(Long gameId) {

    Game game = gameDao.load(gameId);

    return game;
  }

}
